<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta content="en" name="language">
	<title>pixel_wand</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link media="screen" href="../docutils-api.css" type="text/css" rel="stylesheet">

</head>

<body>

<div class="banner">
<img src="../images/gm-107x76.png" alt="GraphicMagick logo" width="107" height="76" />
<span class="title">GraphicsMagick</span>
<form action="http://www.google.com/search">
  <input type="hidden" name="domains" value="www.graphicsmagick.org" />
  <input type="hidden" name="sitesearch" value="www.graphicsmagick.org" />
<span class="nowrap"><input type="text" name="q" size="25" maxlength="255" />&nbsp;<input type="submit" name="sa" value="Search" /></span>
</form>
</div>


<div class="navmenu">
<ul>
  <li><a href="../index.html">Home</a></li>
  <li><a href="../project.html">Project</a></li>
  <li><a href="../download.html">Download</a></li>
  <li><a href="../README.html">Install</a></li>
  <li><a href="../Hg.html">Source</a></li>
  <li><a href="../NEWS.html">News</a> </li>
  <li><a href="../utilities.html">Utilities</a></li>
  <li><a href="../programming.html">Programming</a></li>
  <li><a href="../reference.html">Reference</a></li>
</ul>
</div>

<main id="pixel-wand">
<h1 class="title">pixel_wand</h1>
<p class="subtitle" id="wand-pixel-access-interfaces">Wand pixel access interfaces</p>
<div class="contents topic" id="contents">
<p class="topic-title">Contents</p>
<ul class="simple">
<li><p><a class="reference internal" href="#clonepixelwand" id="id85">ClonePixelWand</a></p></li>
<li><p><a class="reference internal" href="#clonepixelwands" id="id86">ClonePixelWands</a></p></li>
<li><p><a class="reference internal" href="#destroypixelwand" id="id87">DestroyPixelWand</a></p></li>
<li><p><a class="reference internal" href="#newpixelwand" id="id88">NewPixelWand</a></p></li>
<li><p><a class="reference internal" href="#newpixelwands" id="id89">NewPixelWands</a></p></li>
<li><p><a class="reference internal" href="#pixelgetexception" id="id90">PixelGetException</a></p></li>
<li><p><a class="reference internal" href="#pixelgetblack" id="id91">PixelGetBlack</a></p></li>
<li><p><a class="reference internal" href="#pixelgetblackquantum" id="id92">PixelGetBlackQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelgetblue" id="id93">PixelGetBlue</a></p></li>
<li><p><a class="reference internal" href="#pixelgetbluequantum" id="id94">PixelGetBlueQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelgetcolorasstring" id="id95">PixelGetColorAsString</a></p></li>
<li><p><a class="reference internal" href="#pixelgetcolorcount" id="id96">PixelGetColorCount</a></p></li>
<li><p><a class="reference internal" href="#pixelgetcyan" id="id97">PixelGetCyan</a></p></li>
<li><p><a class="reference internal" href="#pixelgetcyanquantum" id="id98">PixelGetCyanQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelgetgreen" id="id99">PixelGetGreen</a></p></li>
<li><p><a class="reference internal" href="#pixelgetgreenquantum" id="id100">PixelGetGreenQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelgetmagenta" id="id101">PixelGetMagenta</a></p></li>
<li><p><a class="reference internal" href="#pixelgetmagentaquantum" id="id102">PixelGetMagentaQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelgetopacity" id="id103">PixelGetOpacity</a></p></li>
<li><p><a class="reference internal" href="#pixelgetopacityquantum" id="id104">PixelGetOpacityQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelgetred" id="id105">PixelGetRed</a></p></li>
<li><p><a class="reference internal" href="#pixelgetredquantum" id="id106">PixelGetRedQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelgetyellow" id="id107">PixelGetYellow</a></p></li>
<li><p><a class="reference internal" href="#pixelgetyellowquantum" id="id108">PixelGetYellowQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelsetblack" id="id109">PixelSetBlack</a></p></li>
<li><p><a class="reference internal" href="#pixelsetblackquantum" id="id110">PixelSetBlackQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelsetblue" id="id111">PixelSetBlue</a></p></li>
<li><p><a class="reference internal" href="#pixelsetbluequantum" id="id112">PixelSetBlueQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelsetcolor" id="id113">PixelSetColor</a></p></li>
<li><p><a class="reference internal" href="#pixelsetcolorcount" id="id114">PixelSetColorCount</a></p></li>
<li><p><a class="reference internal" href="#pixelsetcyan" id="id115">PixelSetCyan</a></p></li>
<li><p><a class="reference internal" href="#pixelsetcyanquantum" id="id116">PixelSetCyanQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelsetgreen" id="id117">PixelSetGreen</a></p></li>
<li><p><a class="reference internal" href="#pixelsetgreenquantum" id="id118">PixelSetGreenQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelsetmagenta" id="id119">PixelSetMagenta</a></p></li>
<li><p><a class="reference internal" href="#pixelsetmagentaquantum" id="id120">PixelSetMagentaQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelsetopacity" id="id121">PixelSetOpacity</a></p></li>
<li><p><a class="reference internal" href="#pixelsetopacityquantum" id="id122">PixelSetOpacityQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelsetquantumcolor" id="id123">PixelSetQuantumColor</a></p></li>
<li><p><a class="reference internal" href="#pixelsetred" id="id124">PixelSetRed</a></p></li>
<li><p><a class="reference internal" href="#pixelsetredquantum" id="id125">PixelSetRedQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelsetyellow" id="id126">PixelSetYellow</a></p></li>
<li><p><a class="reference internal" href="#pixelsetyellowquantum" id="id127">PixelSetYellowQuantum</a></p></li>
</ul>
</div>
<section id="clonepixelwand">
<h1><a class="toc-backref" href="#id85">ClonePixelWand</a></h1>
<section id="synopsis">
<h2>Synopsis</h2>
<pre class="literal-block">PixelWand *ClonePixelWand( const PixelWand *wand );</pre>
</section>
<section id="description">
<h2>Description</h2>
<p>ClonePixelWand() creates an exact copy of a PixelWand. PixelWand may not be
a null pointer.</p>
<p>The format of the ClonePixelWand method is:</p>
<pre class="literal-block">PixelWand *ClonePixelWand( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand to clone.</p>
</dd>
</dl>
</section>
</section>
<section id="clonepixelwands">
<h1><a class="toc-backref" href="#id86">ClonePixelWands</a></h1>
<section id="id1">
<h2>Synopsis</h2>
<pre class="literal-block">PixelWand ** ClonePixelWands( const PixelWand ** wands, const unsigned long number_wands );</pre>
</section>
<section id="id2">
<h2>Description</h2>
<p>ClonePixelWands creates a deep-copy of an array of PixelWands.</p>
<p>The format of the ClonePixelWands method is:</p>
<pre class="literal-block">PixelWand ** ClonePixelWands( const PixelWand ** wands, const unsigned long number_wands );</pre>
<dl class="simple">
<dt>wands:</dt>
<dd><p>The pixel wands to clone.</p>
</dd>
<dt>number_wands:</dt>
<dd><p>The number of wands in the array.</p>
</dd>
</dl>
</section>
</section>
<section id="destroypixelwand">
<h1><a class="toc-backref" href="#id87">DestroyPixelWand</a></h1>
<section id="id3">
<h2>Synopsis</h2>
<pre class="literal-block">void DestroyPixelWand( PixelWand *wand );</pre>
</section>
<section id="id4">
<h2>Description</h2>
<p>DestroyPixelWand() deallocates resources associated with a PixelWand.</p>
<p>The format of the DestroyPixelWand method is:</p>
<pre class="literal-block">void DestroyPixelWand( PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="newpixelwand">
<h1><a class="toc-backref" href="#id88">NewPixelWand</a></h1>
<section id="id5">
<h2>Synopsis</h2>
<pre class="literal-block">PixelWand *NewPixelWand( void );</pre>
</section>
<section id="id6">
<h2>Description</h2>
<p>NewPixelWand() returns a new pixel wand.</p>
<p>The format of the NewPixelWand method is:</p>
<pre class="literal-block">PixelWand *NewPixelWand( void );</pre>
</section>
</section>
<section id="newpixelwands">
<h1><a class="toc-backref" href="#id89">NewPixelWands</a></h1>
<section id="id7">
<h2>Synopsis</h2>
<pre class="literal-block">PixelWand ** NewPixelWands( const unsigned long number_wands );</pre>
</section>
<section id="id8">
<h2>Description</h2>
<p>NewPixelWands() returns an array of pixel wands.</p>
<p>The format of the NewPixelWand method is:</p>
<pre class="literal-block">PixelWand ** NewPixelWands( const unsigned long number_wands );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>number_wands:</dt>
<dd><p>The number of wands.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetexception">
<h1><a class="toc-backref" href="#id90">PixelGetException</a></h1>
<section id="id9">
<h2>Synopsis</h2>
<pre class="literal-block">unsigned int PixelGetException( PixelWand *wand, char ** description );</pre>
</section>
<section id="id10">
<h2>Description</h2>
<p>PixelGetException() returns the severity, reason, and description of any
error that occurs when using the pixel wand methods.</p>
<p>The format of the PixelGetException method is:</p>
<pre class="literal-block">unsigned int PixelGetException( PixelWand *wand, char ** description );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>description:</dt>
<dd><p>A description of the error.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetblack">
<h1><a class="toc-backref" href="#id91">PixelGetBlack</a></h1>
<section id="id11">
<h2>Synopsis</h2>
<pre class="literal-block">double PixelGetBlack( const PixelWand *wand );</pre>
</section>
<section id="id12">
<h2>Description</h2>
<p>PixelGetBlack() returns the normalized black color of the pixel wand.</p>
<p>The format of the PixelGetBlack method is:</p>
<pre class="literal-block">double PixelGetBlack( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetblackquantum">
<h1><a class="toc-backref" href="#id92">PixelGetBlackQuantum</a></h1>
<section id="id13">
<h2>Synopsis</h2>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetBlackQuantum( const PixelWand *wand );</pre>
</section>
<section id="id14">
<h2>Description</h2>
<p>PixelGetBlackQuantum() returns the black color of the pixel wand.  The
color is in the range of [0..MaxRGB].</p>
<p>The format of the PixelGetBlackQuantum method is:</p>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetBlackQuantum( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetblue">
<h1><a class="toc-backref" href="#id93">PixelGetBlue</a></h1>
<section id="id15">
<h2>Synopsis</h2>
<pre class="literal-block">double PixelGetBlue( const PixelWand *wand );</pre>
</section>
<section id="id16">
<h2>Description</h2>
<p>PixelGetBlue() returns the normalized blue color of the pixel wand.</p>
<p>The format of the PixelGetBlue method is:</p>
<pre class="literal-block">double PixelGetBlue( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetbluequantum">
<h1><a class="toc-backref" href="#id94">PixelGetBlueQuantum</a></h1>
<section id="id17">
<h2>Synopsis</h2>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetBlueQuantum( const PixelWand *wand );</pre>
</section>
<section id="id18">
<h2>Description</h2>
<p>PixelGetBlueQuantum() returns the blue color of the pixel wand.  The
color is in the range of [0..MaxRGB].</p>
<p>The format of the PixelGetBlueQuantum method is:</p>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetBlueQuantum( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetcolorasstring">
<h1><a class="toc-backref" href="#id95">PixelGetColorAsString</a></h1>
<section id="id19">
<h2>Synopsis</h2>
<pre class="literal-block">char *PixelGetColorAsString( PixelWand *wand );</pre>
</section>
<section id="id20">
<h2>Description</h2>
<p>PixelGetColorAsString() gets the color of the pixel wand expressed as
a string.</p>
<p>The format of the PixelGetColorAsString method is:</p>
<pre class="literal-block">char *PixelGetColorAsString( PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetcolorcount">
<h1><a class="toc-backref" href="#id96">PixelGetColorCount</a></h1>
<section id="id21">
<h2>Synopsis</h2>
<pre class="literal-block">unsigned long PixelGetColorCount( const PixelWand *wand );</pre>
</section>
<section id="id22">
<h2>Description</h2>
<p>PixelGetColorCount() returns the color count associated with this color.</p>
<p>The format of the PixelGetColorCount method is:</p>
<pre class="literal-block">unsigned long PixelGetColorCount( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetcyan">
<h1><a class="toc-backref" href="#id97">PixelGetCyan</a></h1>
<section id="id23">
<h2>Synopsis</h2>
<pre class="literal-block">double PixelGetCyan( const PixelWand *wand );</pre>
</section>
<section id="id24">
<h2>Description</h2>
<p>PixelGetCyan() returns the normalized cyan color of the pixel wand.</p>
<p>The format of the PixelGetCyan method is:</p>
<pre class="literal-block">double PixelGetCyan( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetcyanquantum">
<h1><a class="toc-backref" href="#id98">PixelGetCyanQuantum</a></h1>
<section id="id25">
<h2>Synopsis</h2>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetCyanQuantum( const PixelWand *wand );</pre>
</section>
<section id="id26">
<h2>Description</h2>
<p>PixelGetCyanQuantum() returns the cyan color of the pixel wand.  The color
is in the range of [0..MaxRGB].</p>
<p>The format of the PixelGetCyanQuantum method is:</p>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetCyanQuantum( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetgreen">
<h1><a class="toc-backref" href="#id99">PixelGetGreen</a></h1>
<section id="id27">
<h2>Synopsis</h2>
<pre class="literal-block">double PixelGetGreen( const PixelWand *wand );</pre>
</section>
<section id="id28">
<h2>Description</h2>
<p>PixelGetGreen() returns the normalized green color of the pixel wand.</p>
<p>The format of the PixelGetGreen method is:</p>
<pre class="literal-block">double PixelGetGreen( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetgreenquantum">
<h1><a class="toc-backref" href="#id100">PixelGetGreenQuantum</a></h1>
<section id="id29">
<h2>Synopsis</h2>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetGreenQuantum( const PixelWand *wand );</pre>
</section>
<section id="id30">
<h2>Description</h2>
<p>PixelGetGreenQuantum() returns the green color of the pixel wand.  The
color is in the range of [0..MaxRGB].</p>
<p>The format of the PixelGetGreenQuantum method is:</p>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetGreenQuantum( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetmagenta">
<h1><a class="toc-backref" href="#id101">PixelGetMagenta</a></h1>
<section id="id31">
<h2>Synopsis</h2>
<pre class="literal-block">double PixelGetMagenta( const PixelWand *wand );</pre>
</section>
<section id="id32">
<h2>Description</h2>
<p>PixelGetMagenta() returns the normalized magenta color of the pixel wand.</p>
<p>The format of the PixelGetMagenta method is:</p>
<pre class="literal-block">double PixelGetMagenta( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetmagentaquantum">
<h1><a class="toc-backref" href="#id102">PixelGetMagentaQuantum</a></h1>
<section id="id33">
<h2>Synopsis</h2>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetMagentaQuantum( const PixelWand *wand );</pre>
</section>
<section id="id34">
<h2>Description</h2>
<p>PixelGetMagentaQuantum() returns the magenta color of the pixel wand.  The
color is in the range of [0..MaxRGB].</p>
<p>The format of the PixelGetMagentaQuantum method is:</p>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetMagentaQuantum( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetopacity">
<h1><a class="toc-backref" href="#id103">PixelGetOpacity</a></h1>
<section id="id35">
<h2>Synopsis</h2>
<pre class="literal-block">double PixelGetOpacity( const PixelWand *wand );</pre>
</section>
<section id="id36">
<h2>Description</h2>
<p>PixelGetOpacity() returns the normalized opacity color of the pixel
wand.</p>
<p>The format of the PixelGetOpacity method is:</p>
<pre class="literal-block">double PixelGetOpacity( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetopacityquantum">
<h1><a class="toc-backref" href="#id104">PixelGetOpacityQuantum</a></h1>
<section id="id37">
<h2>Synopsis</h2>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetOpacityQuantum( const PixelWand *wand );</pre>
</section>
<section id="id38">
<h2>Description</h2>
<p>PixelGetOpacityQuantum() returns the opacity color of the pixel wand.
The color is in the range of [0..MaxRGB].</p>
<p>The format of the PixelGetOpacityQuantum method is:</p>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetOpacityQuantum( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetred">
<h1><a class="toc-backref" href="#id105">PixelGetRed</a></h1>
<section id="id39">
<h2>Synopsis</h2>
<pre class="literal-block">double PixelGetRed( const PixelWand *wand );</pre>
</section>
<section id="id40">
<h2>Description</h2>
<p>PixelGetRed() returns the normalized red color of the pixel wand.</p>
<p>The format of the PixelGetRed method is:</p>
<pre class="literal-block">double PixelGetRed( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetredquantum">
<h1><a class="toc-backref" href="#id106">PixelGetRedQuantum</a></h1>
<section id="id41">
<h2>Synopsis</h2>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetRedQuantum( const PixelWand *wand );</pre>
</section>
<section id="id42">
<h2>Description</h2>
<p>PixelGetRedQuantum() returns the red color of the pixel wand.  The
color is in the range of [0..MaxRGB].</p>
<p>The format of the PixelGetRedQuantum method is:</p>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetRedQuantum( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetyellow">
<h1><a class="toc-backref" href="#id107">PixelGetYellow</a></h1>
<section id="id43">
<h2>Synopsis</h2>
<pre class="literal-block">double PixelGetYellow( const PixelWand *wand );</pre>
</section>
<section id="id44">
<h2>Description</h2>
<p>PixelGetYellow() returns the normalized yellow color of the pixel wand.</p>
<p>The format of the PixelGetYellow method is:</p>
<pre class="literal-block">double PixelGetYellow( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetyellowquantum">
<h1><a class="toc-backref" href="#id108">PixelGetYellowQuantum</a></h1>
<section id="id45">
<h2>Synopsis</h2>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetYellowQuantum( const PixelWand *wand );</pre>
</section>
<section id="id46">
<h2>Description</h2>
<p>PixelGetYellowQuantum() returns the yellow color of the pixel wand.  The
color is in the range of [0..MaxRGB].</p>
<p>The format of the PixelGetYellowQuantum method is:</p>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetYellowQuantum( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetblack">
<h1><a class="toc-backref" href="#id109">PixelSetBlack</a></h1>
<section id="id47">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetBlack( PixelWand *wand, const double black );</pre>
</section>
<section id="id48">
<h2>Description</h2>
<p>PixelSetBlack() sets the normalized black color of the pixel wand.</p>
<p>The format of the PixelSetBlack method is:</p>
<pre class="literal-block">void PixelSetBlack( PixelWand *wand, const double black );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>black:</dt>
<dd><p>The black color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetblackquantum">
<h1><a class="toc-backref" href="#id110">PixelSetBlackQuantum</a></h1>
<section id="id49">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetBlackQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> black );</pre>
</section>
<section id="id50">
<h2>Description</h2>
<p>PixelSetBlackQuantum() sets the black color of the pixel wand.  The color
must be in the range of [0..MaxRGB].</p>
<p>The format of the PixelSetBlackQuantum method is:</p>
<pre class="literal-block">void PixelSetBlackQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> black );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>black:</dt>
<dd><p>The black color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetblue">
<h1><a class="toc-backref" href="#id111">PixelSetBlue</a></h1>
<section id="id51">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetBlue( PixelWand *wand, const double blue );</pre>
</section>
<section id="id52">
<h2>Description</h2>
<p>PixelSetBlue() sets the normalized blue color of the pixel wand.</p>
<p>The format of the PixelSetBlue method is:</p>
<pre class="literal-block">void PixelSetBlue( PixelWand *wand, const double blue );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>blue:</dt>
<dd><p>The blue color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetbluequantum">
<h1><a class="toc-backref" href="#id112">PixelSetBlueQuantum</a></h1>
<section id="id53">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetBlueQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> blue );</pre>
</section>
<section id="id54">
<h2>Description</h2>
<p>PixelSetBlueQuantum() sets the blue color of the pixel wand.  The color must
be in the range of [0..MaxRGB].</p>
<p>The format of the PixelSetBlueQuantum method is:</p>
<pre class="literal-block">void PixelSetBlueQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> blue );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>blue:</dt>
<dd><p>The blue color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetcolor">
<h1><a class="toc-backref" href="#id113">PixelSetColor</a></h1>
<section id="id55">
<h2>Synopsis</h2>
<pre class="literal-block">unsigned int PixelSetColor( PixelWand *wand, const char *color );</pre>
</section>
<section id="id56">
<h2>Description</h2>
<p>PixelSetColor() sets the color of the pixel wand with a string (e.g.
&quot;blue&quot;, &quot;#0000ff&quot;, &quot;rgb(0,0,255)&quot;, etc.).  MagickFalse is returned
on failure</p>
<p>The format of the PixelSetColor method is:</p>
<pre class="literal-block">unsigned int PixelSetColor( PixelWand *wand, const char *color );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>color:</dt>
<dd><p>The pixel wand color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetcolorcount">
<h1><a class="toc-backref" href="#id114">PixelSetColorCount</a></h1>
<section id="id57">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetColorCount( PixelWand *wand, const unsigned long count );</pre>
</section>
<section id="id58">
<h2>Description</h2>
<p>PixelSetColorCount() sets the color count of the pixel wand.</p>
<p>The format of the PixelSetColorCount method is:</p>
<pre class="literal-block">void PixelSetColorCount( PixelWand *wand, const unsigned long count );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>count:</dt>
<dd><p>The number of this particular color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetcyan">
<h1><a class="toc-backref" href="#id115">PixelSetCyan</a></h1>
<section id="id59">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetCyan( PixelWand *wand, const double cyan );</pre>
</section>
<section id="id60">
<h2>Description</h2>
<p>PixelSetCyan() sets the normalized cyan color of the pixel wand.</p>
<p>The format of the PixelSetCyan method is:</p>
<pre class="literal-block">void PixelSetCyan( PixelWand *wand, const double cyan );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>cyan:</dt>
<dd><p>The cyan color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetcyanquantum">
<h1><a class="toc-backref" href="#id116">PixelSetCyanQuantum</a></h1>
<section id="id61">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetCyanQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> cyan );</pre>
</section>
<section id="id62">
<h2>Description</h2>
<p>PixelSetCyanQuantum() sets the cyan color of the pixel wand.  The color must
be in the range of [0..MaxRGB].</p>
<p>The format of the PixelSetCyanQuantum method is:</p>
<pre class="literal-block">void PixelSetCyanQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> cyan );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>cyan:</dt>
<dd><p>The cyan color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetgreen">
<h1><a class="toc-backref" href="#id117">PixelSetGreen</a></h1>
<section id="id63">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetGreen( PixelWand *wand, const double green );</pre>
</section>
<section id="id64">
<h2>Description</h2>
<p>PixelSetGreen() sets the normalized green color of the pixel wand.</p>
<p>The format of the PixelSetGreen method is:</p>
<pre class="literal-block">void PixelSetGreen( PixelWand *wand, const double green );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>green:</dt>
<dd><p>The green color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetgreenquantum">
<h1><a class="toc-backref" href="#id118">PixelSetGreenQuantum</a></h1>
<section id="id65">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetGreenQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> green );</pre>
</section>
<section id="id66">
<h2>Description</h2>
<p>PixelSetGreenQuantum() sets the green color of the pixel wand.  The color must
be in the range of [0..MaxRGB].</p>
<p>The format of the PixelSetGreenQuantum method is:</p>
<pre class="literal-block">void PixelSetGreenQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> green );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>green:</dt>
<dd><p>The green color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetmagenta">
<h1><a class="toc-backref" href="#id119">PixelSetMagenta</a></h1>
<section id="id67">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetMagenta( PixelWand *wand, const double magenta );</pre>
</section>
<section id="id68">
<h2>Description</h2>
<p>PixelSetMagenta() sets the normalized magenta color of the pixel wand.</p>
<p>The format of the PixelSetMagenta method is:</p>
<pre class="literal-block">void PixelSetMagenta( PixelWand *wand, const double magenta );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>magenta:</dt>
<dd><p>The magenta color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetmagentaquantum">
<h1><a class="toc-backref" href="#id120">PixelSetMagentaQuantum</a></h1>
<section id="id69">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetMagentaQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> magenta );</pre>
</section>
<section id="id70">
<h2>Description</h2>
<p>PixelSetMagentaQuantum() sets the magenta color of the pixel wand.  The
color must be in the range of [0..MaxRGB].</p>
<p>The format of the PixelSetMagentaQuantum method is:</p>
<pre class="literal-block">void PixelSetMagentaQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> magenta );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>magenta:</dt>
<dd><p>The magenta color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetopacity">
<h1><a class="toc-backref" href="#id121">PixelSetOpacity</a></h1>
<section id="id71">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetOpacity( PixelWand *wand, const double opacity );</pre>
</section>
<section id="id72">
<h2>Description</h2>
<p>PixelSetOpacity() sets the normalized opacity color of the pixel wand.</p>
<p>The format of the PixelSetOpacity method is:</p>
<pre class="literal-block">void PixelSetOpacity( PixelWand *wand, const double opacity );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>opacity:</dt>
<dd><p>The opacity value.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetopacityquantum">
<h1><a class="toc-backref" href="#id122">PixelSetOpacityQuantum</a></h1>
<section id="id73">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetOpacityQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> opacity );</pre>
</section>
<section id="id74">
<h2>Description</h2>
<p>PixelSetOpacityQuantum() sets the opacity color of the pixel wand.  The
color must be in the range of [0..MaxRGB].</p>
<p>The format of the PixelSetOpacityQuantum method is:</p>
<pre class="literal-block">void PixelSetOpacityQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> opacity );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>opacity:</dt>
<dd><p>The opacity value.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetquantumcolor">
<h1><a class="toc-backref" href="#id123">PixelSetQuantumColor</a></h1>
<section id="id75">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetQuantumColor( PixelWand *wand, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *color );</pre>
</section>
<section id="id76">
<h2>Description</h2>
<p>PixelSetQuantumColor() sets the color of the pixel wand.</p>
<p>The format of the PixelSetQuantumColor method is:</p>
<pre class="literal-block">void PixelSetQuantumColor( PixelWand *wand, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *color );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>color:</dt>
<dd><p>The pixel wand color (expressed as a PixelPacket).</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetred">
<h1><a class="toc-backref" href="#id124">PixelSetRed</a></h1>
<section id="id77">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetRed( PixelWand *wand, const double red );</pre>
</section>
<section id="id78">
<h2>Description</h2>
<p>PixelSetRed() sets the normalized red color of the pixel wand.</p>
<p>The format of the PixelSetRed method is:</p>
<pre class="literal-block">void PixelSetRed( PixelWand *wand, const double red );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>red:</dt>
<dd><p>The red color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetredquantum">
<h1><a class="toc-backref" href="#id125">PixelSetRedQuantum</a></h1>
<section id="id79">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetRedQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> red );</pre>
</section>
<section id="id80">
<h2>Description</h2>
<p>PixelSetRedQuantum() sets the red color of the pixel wand.  The color must
be in the range of [0..MaxRGB].</p>
<p>The format of the PixelSetRedQuantum method is:</p>
<pre class="literal-block">void PixelSetRedQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> red );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>red:</dt>
<dd><p>The red color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetyellow">
<h1><a class="toc-backref" href="#id126">PixelSetYellow</a></h1>
<section id="id81">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetYellow( PixelWand *wand, const double yellow );</pre>
</section>
<section id="id82">
<h2>Description</h2>
<p>PixelSetYellow() sets the normalized yellow color of the pixel wand.</p>
<p>The format of the PixelSetYellow method is:</p>
<pre class="literal-block">void PixelSetYellow( PixelWand *wand, const double yellow );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>yellow:</dt>
<dd><p>The yellow color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetyellowquantum">
<h1><a class="toc-backref" href="#id127">PixelSetYellowQuantum</a></h1>
<section id="id83">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetYellowQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> yellow );</pre>
</section>
<section id="id84">
<h2>Description</h2>
<p>PixelSetYellowQuantum() sets the yellow color of the pixel wand.  The color
must be in the range of [0..MaxRGB].</p>
<p>The format of the PixelSetYellowQuantum method is:</p>
<pre class="literal-block">void PixelSetYellowQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> yellow );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>yellow:</dt>
<dd><p>The yellow color.</p>
</dd>
</dl>
</section>
</section>
</main>


<hr class="docutils">
<div class="document">
    <p><a href="../Copyright.html">Copyright</a> © GraphicsMagick Group 2002-2025<!--SPONSOR_LOGO--></p>
</div>

</main>
</body>
</html>
